﻿using SqlSugar;

namespace OnWork.DataCenter.BLL.Standard
{
    /// <summary>
    /// 数据库配置
    /// </summary>
    public class DataBaseConfig
    {
        /// <summary>
        /// 数据库连接 DSDataBase配置ID
        /// </summary>
        public long DBID { get; set; }

        /// <summary>
        /// 数据库连接
        /// </summary>
        public string DBConn { get; set; }

        /// <summary>
        /// 数据库类型
        /// </summary>
        public DbType DBType { get; set; } = DbType.SqlServer;

        /// <summary>
        /// 表名
        /// </summary>
        public string DBTable { get; set; }

        /// <summary>
        /// 数据库列
        /// </summary>
        public List<DBCol> DBCols { get; set; } = new List<DBCol>();    

    }
}